package com.ruoyi.project.erp.project.service.impl;

import com.ruoyi.common.utils.text.Convert;
import com.ruoyi.project.erp.project.domain.ErpProject;
import com.ruoyi.project.erp.project.mapper.ErpProjectMapper;
import com.ruoyi.project.erp.project.service.IErpProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * erp后端服务
 *
 * @author ruoyi
 * @date 2021-08-06
 */
@Service("erpService")
public class ErpService {


    @Autowired
    private ErpProjectMapper erpProjectMapper;


    /**
     * 查询所有项目
     *
     * @return 结果
     */
    public List<ErpProject> selectErpProjectList() {
        return erpProjectMapper.selectErpProjectList(new ErpProject());
    }


}
